﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin.Master" AutoEventWireup="true" CodeBehind="EditPage.aspx.cs" Inherits="FHost1.Admin.EditPage" %>
<%@ Register assembly="CKEditor.NET" namespace="CKEditor.NET" tagprefix="CKEditor" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
        <script type="text/javascript">
            $(function () {
                $("#MainContent_btnAdd").button();
                $("#MainContent_btnSave").button();
            });

    </script>
    <h2>
        Edit page ...</h2>
    <div style="margin: 20px;">
        <table style="width:100%; height:700px;">
            <tr>
                <td style="width: 108px"><span>Title:</span></td>
                <td>
                    <asp:TextBox ID="txtTitle" Enabled="false" runat="server" Width="500px" CssClass="searchtxt ui-accordion ui-corner-all"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td style="width: 108px"><span>Url Code:</span></td>
                <td>
                    <asp:TextBox ID="txtUrlCode" Enabled="false" runat="server" Width="500px" CssClass="searchtxt ui-accordion ui-corner-all"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td style="width: 108px"><span>Page Content:</span></td>
                <td>
                    
                    <CKEditor:CKEditorControl ID="contentEditor" runat="server" ToolbarFull="Source|-|Templates
                                            Cut|Copy|Paste|PasteText|PasteFromWord|-|Print|SpellChecker|Scayt
                                            Undo|Redo|-|Find|Replace|-|SelectAll|RemoveFormat
                                            Form|Checkbox|Radio|TextField|Textarea|Select|Button|ImageButton|HiddenField
                                            /
                                            Bold|Italic|Underline|Strike|-|Subscript|Superscript
                                            NumberedList|BulletedList|-|Outdent|Indent|Blockquote|CreateDiv
                                            JustifyLeft|JustifyCenter|JustifyRight|JustifyBlock
                                            BidiLtr|BidiRtl
                                            Link|Unlink|Anchor
                                            Image|Flash|Table|HorizontalRule|Smiley|SpecialChar|PageBreak|Iframe
                                            /
                                            Styles|Format|Font|FontSize
                                            TextColor|BGColor
                                            Maximize|ShowBlocks|-|About" Height="450px" Skin="v2">
                    </CKEditor:CKEditorControl>
                    
                </td>
            </tr>
            <tr>
                <td style="width: 108px">&nbsp;</td>
                <td>
                    
                    <asp:Button ID="btnSave" runat="server" Text="Save" style="float:right;" OnClick="btnSave_Click" />
                    
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
